<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<script>
	var str = 'aaaa';
	alert(str.italics());		//	<i>aaaa</i>

	var str = 'aa';
	alert(str.italics());		//	<i>aa</i>
</script>
</body>
</html>